#!/bin/bash

# wrapper script to run the Select Solutions NEM12 converter library

date >> /tmp/log

echo "Select Solutions NEM12 Conversion Completed" >> /tmp/log

java -Xmx32m -jar /home/basysadmin/scripts/convertselectsolutionsnem12/fileAdaptor.jar selectSolution /home/selectsol /home/selectsol/preproc /home/selectsol/history /home/selectsol/postproc

chown selectsol /home/selectsol/postproc/*
chgrp selectsol /home/selectsol/postproc/*

date >> /tmp/log

echo "Select Solutions NEM12 Conversion Completed" >> /tmp/log




